package ooday05;

/**
 * 点
 */

//设计getter/setter的，没有它就获取不到数据;
//可以设计getter/setter理解为一种行业标准
public class Point {
    private int x;
    private int y;

    public Point() {
    }


    public int getX() {
        return x;
    }

    public void setX(int x) {
        this.x = x;
    }

    public int getY() {
        return y;
    }

    public void setY(int y) {
        this.y = y;
    }
}
